package com.example.demo.service;

import com.example.demo.entity.Books;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author GJC
* @description 针对表【books】的数据库操作Service
* @createDate 2025-01-12 23:14:37
*/
public interface BooksService extends IService<Books> {
    List<Books> getList();
    Books getBook(int id);
    int addBook(Books books);
    int updateBook(Books books);
    int  delBook(int id);
    List<Books> searchBook(String keywords);
}
